package com.ellison.springboot.expandsboot.springbootutils;

import org.junit.Test;

/**
 1. 输入
 void copy(byte[] in, OutputStream out)
 int copy(InputStream in, OutputStream out)
 void copy(String in, Charset charset, OutputStream out)
 long copyRange(InputStream in, OutputStream out, long start, long end)

 2. 输出
 byte[] copyToByteArray(InputStream in)
 String copyToString(InputStream in, Charset charset)
 // 舍弃输入流中的内容
 int drain(InputStream in)


 * @author Ellison_Pei
 * @date 2022/3/27 14:23
 * @since 1.0
 **/
public class StreamUtilsTest {
    @Test
    public void test() {

    }
}
